package me.zhangsanfeng.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import me.zhangsanfeng.frame.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import java.sql.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 员工信息
 * </p>
 *
 * @author ZhangYao
 * @since 2018-10-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Employees对象", description="员工信息")
public class Employees extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工号")
    @TableId(value = "code", type = IdType.UUID)
    private Integer code;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ApiModelProperty(value = "性别")
    private Integer gender;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "部门")
    private String department;

    @ApiModelProperty(value = "状态")
    private Integer status;


}
